import Vue from 'vue'
import 'normalize.css/normalize.css'
import ElementUI from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css'

import '@/styles/index.scss' // global css
import axios from 'axios'
axios.defaults.baseURL = "http://localhost:8080"
import JsonExcel from 'vue-json-excel'
Vue.component('downloadExcel', JsonExcel)
import App from './App'

import store from './store'

import router from './router'
import '@/icons' // icon

Vue.use(ElementUI)
import {postRequest} from './utils/api'
Vue.prototype.postRequest=postRequest
import * as echarts from "echarts";
Vue.prototype.$echarts = echarts;
Vue.config.productionTip = false
// vue实例化
new Vue({
  el: '#app',
  router,
  store,
  render: h => h(App)
})
